﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DAL;

namespace TTCN_QLDiemC3.MyUserControl.UCHienThi
{
    public partial class UCDanhSachHS : UserControl
    {
        CSDLQLDiemHSC3DataContext DB = new CSDLQLDiemHSC3DataContext();
        public UCDanhSachHS()
        {
            InitializeComponent();
        }

        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            dataGridView1.DataSource = DB.tbl_HocSinhs.ToList();
        }
    }
}
